package cn.tj212.xiaoyin.core.consts.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.consts.domain.ConstsCollege;

import java.util.List;

public interface ConstsCollegeDao {
    public ConstsCollege getById(Long id);

    public ConstsCollege getByCode(String code);

    public List<ConstsCollege> queryAll(ConstsCollege queryEntity);

    public Integer getTotalItemsCount(ConstsCollege queryEntity);

    public List<ConstsCollege> queryPage(ConstsCollege queryEntity, TailPage<ConstsCollege> page);

    public void create(ConstsCollege entity);

    public void createSelectivity(ConstsCollege entity);

    public void update(ConstsCollege entity);

    public void updateSelectivity(ConstsCollege entity);

    public void delete(ConstsCollege entity);

    public void deleteLogic(ConstsCollege entity);
}
